<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:if test="editMode!=9">
    <s:a href="landAlienationModuleHome.do">
    <span><img src="${pageContext.request.contextPath}/images/interest-party.png" alt="Initial Alienation Applications">
    <s:label value="%{getText('land_alienation.label')}"/></span>
    </s:a>
    <span class="module-title-breaker"> > </span>
</s:if>


<s:if test="editMode==0">
    <s:a href="initLandAlienation.do">
        <span><img src="${pageContext.request.contextPath}/images/init-application.png"
                   alt="Initial Alienation Applications">
        <s:label value="%{getText('initial_alienation_applications.label')}"/></span>
    </s:a>
</s:if>
<s:elseif test="editMode==9">
    <s:a href="searchModule.do"><img src="${pageContext.request.contextPath}/images/search.png"
                                     alt="Land Alienation"><span><s:label
            value="%{getText('search.label')}"/></span></s:a>
    <span class="module-title-breaker"> > </span>
    <s:a href="searchApplicationList.do"><img
            src="${pageContext.request.contextPath}/images/search_by_reference.png"><span><s:label
            value="%{getText('search_application.label')}"/></span></s:a>
</s:elseif>
<s:else>
    <s:if test="#session.userGroup=='ords'">
        <s:a href="initApplicationApprove.do">
            <span><img src="${pageContext.request.contextPath}/images/accept.png" alt="Initial Alienation Applications">
            <s:label value="%{getText('initial_alienation_applications_approval.label')}"/></span>
        </s:a>
        <div id="back-button" align="right">
            <s:form><s:submit value="%{getText('back_btn.label')}" action="initApplicationApprove"/></s:form>
        </div>
    </s:if>
    <s:if test="#session.userGroup=='lo'">
        <s:a href="initApplicationToBeEdit.do">
            <span><img src="${pageContext.request.contextPath}/images/modify-form.png"
                       alt="Initial Alienation Applications">
            <s:label value="%{getText('modify_initial_alienation_applications.label')}"/></span>

            <div id="back-button" align="right">
                <s:form><s:submit value="%{getText('back_btn.label')}" action="initApplicationToBeEdit"/></s:form>
            </div>
        </s:a>
    </s:if>
</s:else>